package com.kitchen.beans.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Id;

/**
 * @author 78468
 * 分类实体类
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Category {
    /**
     * 商品分类id
     */
    @Id
    @Column(name = "c_id")
    private Integer cId;

    /**
     * 商品分类名称
     */
    @Column(name = "c_name")
    private String cName;

    /**
     * 商品级别
     */
    @Column(name = "c_level")
    private Integer cLevel;

    /**
     * 归属于哪个分类级别
     */
    @Column(name = "c_belong_level")
    private Integer cBelongLevel;

    /**
     * 属于哪个商品分类
     */
    @Column(name = "c_belong_category")
    private Integer cBelongCategory;

    /**
     * 商品分类的热度
     */
    @Column(name = "c_popularity")
    private Integer cPopularity;
    /**
     * 商品分类图片
     */
    @Column(name = "c_img")
    private String cImg;
}